package org.esprit.ocm.client.model.ec2;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class VolumeRecord extends ListGridRecord{
	String id; String size; String status; String date; String instanceId;

	public VolumeRecord() {
	}
	
	public VolumeRecord(String id, String size, String status, String date, String instanceId) {
		setId(id);
		setSize(size);
		setStatus(status);
		setDate(date);
		setInstanceId(instanceId);
	}

	public String getId() {
		return getAttributeAsString("id");
	}

	public String getSize() {
		return getAttributeAsString("size");
	}

	public String getStatus() {
		return getAttributeAsString("status");
	}

	public String getDate() {
		return getAttributeAsString("date");
	}

	public String getInstanceId() {
		return getAttributeAsString("instanceId");
	}

	public void setId(String id) {
		setAttribute("id", id);
	}

	public void setSize(String size) {
		setAttribute("size", size);
	}

	public void setStatus(String status) {
		setAttribute("status", status);
	}

	public void setDate(String date) {
		setAttribute("date", date);
	}

	public void setInstanceId(String instanceId) {
		setAttribute("instanceId", instanceId);
	}

}
